package com.maoslv.mapper;

import com.maoslv.pojo.Order;
import com.maoslv.pojo.Pagination;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface OrderMapper {
    int addOrder(Order order);

    List<Order> getOrderList(Pagination pagination);

    Integer getTotal(Pagination pagination);

    int updateOrder(@Param("id") Integer id,@Param("examine") Integer examine);
}
